﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LibUpdate
{
    /// <summary>
    /// 版本需要更新文件列表
    /// </summary>
    public class FileList:System.Collections.ArrayList
    {
        /// <summary>
        /// 添加新的文件
        /// </summary>
        /// <param name="file">文件</param>
        public void Add(File file)
        {
            base.Add(file);
        }

        /// <summary>
        /// 获得制定序号的文件信息
        /// </summary>
        /// <param name="index"></param>
        /// <returns></returns>
        public File this[int index]
        {
            get
            {
                return (File)base[index];
            }
        }
    }
}
